|  |  | @@ -3,7 +3,7 @@ | 
            
            
              | 3 | 3 |  from django.contrib import admin | 
            
            
              | 4 | 4 |  from django_admin import ReadOnlyModelAdmin | 
            
            
              | 5 | 5 |   | 
            
            
              | 6 |  | -from logs.models import MchInfoEncryptLogInfo, MchLogInfo | 
            
            
              |  | 6 | +from logs.models import MchInfoDecryptLogInfo, MchInfoEncryptLogInfo, MchLogInfo | 
            
            
              | 7 | 7 |   | 
            
            
              | 8 | 8 |   | 
            
            
              | 9 | 9 |  class MchInfoEncryptLogInfoAdmin(ReadOnlyModelAdmin, admin.ModelAdmin): | 
            
            
            
            
              |  |  | @@ -11,11 +11,17 @@ class MchInfoEncryptLogInfoAdmin(ReadOnlyModelAdmin, admin.ModelAdmin): | 
            
            
              | 11 | 11 |      list_filter = ('alg', 'brand_pk', 'model_pk', 'distributor_pk', 'operator_id', 'status') | 
            
            
              | 12 | 12 |   | 
            
            
              | 13 | 13 |   | 
            
            
              |  | 14 | +class MchInfoDecryptLogInfoAdmin(ReadOnlyModelAdmin, admin.ModelAdmin): | 
            
            
              |  | 15 | +    list_display = ('ciphertext', 'brand_pk', 'model_pk', 'distributor_pk', 'sn', 'decrypt_count', 'status', 'created_at', 'updated_at') | 
            
            
              |  | 16 | +    list_filter = ('brand_pk', 'model_pk', 'distributor_pk', 'status') | 
            
            
              |  | 17 | + | 
            
            
              |  | 18 | + | 
            
            
              | 14 | 19 |  class MchLogInfoAdmin(ReadOnlyModelAdmin, admin.ModelAdmin): | 
            
            
              | 15 | 20 |      list_display = ('log_id', 'log_file', 'operator_id', 'app_version', 'status', 'created_at', 'updated_at') | 
            
            
              | 16 | 21 |      list_filter = ('operator_id', 'app_version', 'status') | 
            
            
              | 17 | 22 |      search_fields = ('operator_id', 'app_version') | 
            
            
              | 18 | 23 |   | 
            
            
              | 19 | 24 |   | 
            
            
              | 20 |  | -admin.site.register(MchLogInfo, MchLogInfoAdmin) | 
            
            
              |  | 25 | +admin.site.register(MchInfoDecryptLogInfo, MchInfoDecryptLogInfoAdmin) | 
            
            
              | 21 | 26 |  admin.site.register(MchInfoEncryptLogInfo, MchInfoEncryptLogInfoAdmin) | 
            
            
              |  | 27 | +admin.site.register(MchLogInfo, MchLogInfoAdmin) |